#ifndef SOCKET_H
#define SOCKET_H

#include <stdio.h>
#include <stdlib.h>

#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>

struct socket 
{
	char *server_name;
	int port;
	int sockfd;
};

struct socket * new_socket( char *server_name, char *port );
void delete_socket();

#endif /* SOCKET_H */
